package zlatan_demo15_write

import java.io.PrintWriter

object ClassDemo02 {
  def main(args: Array[String]): Unit = {
    val out = new PrintWriter("output.txt")
    for (i <- 1 to 20 by 2) out.println(i)
    out.close()
  }

}
